package com.flyme.module.base.provider.mapper;

import com.flyme.core.base.supper.mapper.SuperMapper;
import com.flyme.module.base.client.entity.SystemMenu;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zyf
 */
@Repository
public interface SysMenuMapper extends SuperMapper<SystemMenu> {
    /**
     * 根据用户查询菜单
     * @param accountId
     * @return
     */
    List<SystemMenu> selectMenuByUserId(Long accountId);
}
